/* 新增用户信息区域样式 */
.user-info {    
    position: absolute;       
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.3s;    
    right: 20px;
    top: 0px;
}

.user-info:hover {
    background: #f5f5f5;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #409eff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.user-name {
    font-weight: 500;
    color: #606266;
}

/* 下拉菜单样式 */
.user-dropdown {
    top: 0; /* 重置位置 */
    position: absolute;
    right: 0;
    top: 50px;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    width: 160px;
    display: none;
    z-index: 1000;
}

.user-dropdown.show {
    display: block;
}

.dropdown-item {
    padding: 12px 20px;    
    color: #606266;
    font-size: 14px;
    transition: background 0.3s;
}

.dropdown-item:hover {
    background: #f5f5f5;
    color: #409eff;
}

.dropdown-wrapper {
    position: absolute;
    top: 0px;    
    right: 50px;
}
